package com;

import java.util.ArrayList;

public class Demo {
    public static void main(String[] args) {
        MyThread t = new MyThread();
        t.run();
        ArrayList<Integer> arrayList = new ArrayList<>();
        
    }
}

class MyThread extends Thread {
    public void start() {
        for(int i = 0; i < 10; i++) {
            System.out.println("Value = " + i);
        }
    }
}
